package org.js.student.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 班级管理对象 class_manage
 * 
 * @author ruoyi
 * @date 2024-01-06
 */
public class ClassManage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 班级id */
    private Long id;

    /** 班级名 */
    @Excel(name = "班级名")
    private String className;

    /** 开课时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开课时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结课时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结课时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 校区 */
    @Excel(name = "校区")
    private String campus;

    /** 状态 */
    @Excel(name = "状态")
    private Integer state;

    /** 人数 */
    @Excel(name = "人数")
    private Integer studentNumber;

    /** 班主任id */
    @Excel(name = "班主任id")
    private Long classTeacherId;

    /** 就业老师id */
    @Excel(name = "就业老师id")
    private Long employmentTeacherId;

    /** 助教老师id */
    @Excel(name = "助教老师id")
    private Long assistantTeacherId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setCampus(String campus) 
    {
        this.campus = campus;
    }

    public String getCampus() 
    {
        return campus;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setStudentNumber(Integer studentNumber) 
    {
        this.studentNumber = studentNumber;
    }

    public Integer getStudentNumber() 
    {
        return studentNumber;
    }
    public void setClassTeacherId(Long classTeacherId) 
    {
        this.classTeacherId = classTeacherId;
    }

    public Long getClassTeacherId() 
    {
        return classTeacherId;
    }
    public void setEmploymentTeacherId(Long employmentTeacherId) 
    {
        this.employmentTeacherId = employmentTeacherId;
    }

    public Long getEmploymentTeacherId() 
    {
        return employmentTeacherId;
    }
    public void setAssistantTeacherId(Long assistantTeacherId) 
    {
        this.assistantTeacherId = assistantTeacherId;
    }

    public Long getAssistantTeacherId() 
    {
        return assistantTeacherId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("className", getClassName())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("campus", getCampus())
            .append("state", getState())
            .append("studentNumber", getStudentNumber())
            .append("classTeacherId", getClassTeacherId())
            .append("employmentTeacherId", getEmploymentTeacherId())
            .append("assistantTeacherId", getAssistantTeacherId())
            .toString();
    }
}
